//============================================================================
// Copyright (C) 2003-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================
#pragma once

#pragma pack(push) 
#pragma pack(1)

//============================================================================
class PktAvatarExitReq : public VxPktHdr
{
public:
	PktAvatarExitReq()
	{
		memset( this, 0, sizeof( PktAvatarExitReq ) );
		m_u16PktLen = sizeof( PktAvatarExitReq );
		m_u16PktType = PKT_TYPE_AVATAR_EXIT_REQ;
		vx_assert( 0 == ( m_u16PktLen & 0x0f ) );
	}

	//=== vars ===//
	U16		u16Res;		// reserved for alignment
	U32		u64Id;		// id of entity
	U32		u32Res;		// reserved for alignment
};

//============================================================================
class PktAvatarExitReply : public VxPktHdr
{
public:
	PktAvatarExitReply()
	{
		memset( this, 0, sizeof( PktAvatarExitReply ) );
		m_u16PktLen = sizeof( PktAvatarExitReply );
		m_u16PktType = PKT_TYPE_AVATAR_EXIT_REPLY;
		vx_assert( 0 == ( m_u16PktLen & 0x0f ) );
	}

	//=== vars ===//
	U16		u16Res;		// reserved for alignment
	U32		u64Id;		// id of entity
	U32		u32Res;		// reserved for alignment
};

#pragma pack(pop)
